package com.qys.livesMall.shortVideo.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 短视频与标签关系表
 * </p>
 *
 * @author dp
 * @since 2023-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("h2_short_video_tag")
@Schema(name = "H2ShortVideoTag对象", description = "短视频与标签关系表")
public class H2ShortVideoTag implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @Schema( description= "视频id")
    @TableField("video_id")
    private Long videoId;

    @Schema( description= "标签编号")
    @TableField("tag_code")
    private Long tagCode;

    @Schema( description= "是否删除")
    @TableField("deleted")
    private Integer deleted;

}
